module Index exposing (..)

import Model exposing (..)
import Html as H exposing (Html,div,text)
import Html.Events exposing (onClick)

view : Website -> Html Msg
view website = 
 div 
  []
  [ div [] [ H.h1 [] [text (.name website)] ]
  , div [] [ H.button [ onClick UserLogin ] [text "用户登录"] ] ]
